package peerToPeerFacebook.proj;

/** Interface for RPC Server.
 */
public interface IRPCServer  
{	
	/** Method that will be called when new message has arrived for RPCServer.
	 * 
	 * @param from Server message is coming from
	 * @param protocol Protocol ID
	 * @param msg payload of the message
	 */
	public void onReceive(int from, int protocol, byte[] msg);	
}
